package com.ruoyi.system.module.appliction.mapper;

import com.ruoyi.system.module.appliction.entity.Application;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ApplicationMapper {

    public List<Application> selectNormalList();

    public Application selectByMenuId(Long parentId);


    /**
     * 查询系统菜单列表
     *
     * @param menu 菜单信息
     * @return 菜单列表
     */
    public List<Application> selectMenuList(Application menu);


    public int selectByParentId(Long parentId);



    /**
     * 根据菜单ID查询信息
     *
     * @param menuId 菜单ID
     * @return 菜单信息
     */
    public List<Application> selectMenuById(Long menuId);

    /**
     * 根据menuId查询
     * @param menuId
     * @return
     */
    public Application selectByIdA(Long menuId);


}
